﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Engine.Classes {

	/**
	 *	该类负责表示EngineComponent里的属性
	 */
    public class PropertyReference {

        protected var m_property:String = null;
        protected var m_propertyParent:String = null;		// 表示component的名称
        protected var m_propertyName:String = null;

        public function PropertyReference(_arg1:String=null){
            this.property = _arg1;
        }
        public function get property():String{
            return (this.m_property);
        }
        public function set property(_arg1:String):void{
            this.m_property = _arg1;
            var _local2:Array = this.m_property.split(".");
            this.m_propertyParent = _local2[0];
            this.m_propertyName = _local2[1];
        }
        public function get propertyParent():String{
            return (this.m_propertyParent);
        }
        public function get propertyName():String{
            return (this.m_propertyName);
        }
        public function toString():String{
            return (this.m_property);
        }

    }
}//package Engine.Classes 
